# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html


class CsdnPipeline(object):
    def process_item(self, item, spider):
        # for i in range(0,len(self.item["Price"])):
        # self.item["Price"][i]=self.item["Price"][i].replace("\n", "").replace(" ", "")    #替换空格和换行符号
        # print(self.item["Link"])
        return item
